import request from '@/utils/request'
import {
	transformPostBody,
	transformRequestURL
} from "@/api/queryParam/index.js";
export function EvaluationTableaddList(UrlParams, body) {
	return request({
		url: '/elder/evaluation/elder-evaluation-table/page',
		method: 'post',
		params: UrlParams,
		data: body
	})
}

export function getEvaluationTable(Id) {
	return request({
		url: '/elder/evaluation/elder-evaluation-table/' + Id,
		method: 'get'
	})
}

export function addEvaluationTable(data) {
	return request({
		url: '/elder/evaluation/elder-evaluation-table/save',
		method: 'post',
		data: data
	})
}

export function updateEvaluationTable(data) {
	return request({
		url: '/elder/evaluation/elder-evaluation-table/update',
		method: 'post',
		data: data
	})
}

export function delEvaluationTable(Ids) {
	return request({
		url: '/elder/evaluation/elder-evaluation-table/delete',
		method: 'delete',
		data: Ids
	})
}
//外部调用：import { EvaluationTableaddList, getEvaluationTable, addEvaluationTable, updateEvaluationTable, delEvaluationTable } from '@/api/elder/Evaluation/Initiate.js'